

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=&#34;auto&#34;>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
  <link rel="icon" href="/img/favicon.png">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="description" content="">
  <meta name="author" content="John Doe">
  <meta name="keywords" content="">
  
  <title>阿里云服务器搭建个人博客 - walk by faith</title>

  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" />


  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@4.0.0/github-markdown.min.css" />
  <link  rel="stylesheet" href="/lib/hint/hint.min.css" />

  
    
    
      
      <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@10.7.2/styles/github-gist.min.css" />
    
  

  
    <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
  



<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">


<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    var CONFIG = {"hostname":"www.walkbyfaith.cn","root":"/","version":"1.8.11","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null}},"search_path":"/local-search.xml"};
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 5.4.0"></head>


<body>
  <header style="height: 70vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand"
       href="/">&nbsp;<strong>walk by faith</strong>&nbsp;</a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                首页
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                关于
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" data-toggle="modal" data-target="#modalSearch">&nbsp;<i
                class="iconfont icon-search"></i>&nbsp;</a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner" id="banner" parallax=true
         style="background: url('/img/d.jpg') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="page-header text-center fade-in-up">
            <span class="h2" id="subtitle" title="阿里云服务器搭建个人博客">
              
            </span>

            
              <div class="mt-3">
  
  
    <span class="post-meta">
      <i class="iconfont icon-date-fill" aria-hidden="true"></i>
      <time datetime="2021-07-29 18:00" pubdate>
        2021年7月29日 晚上
      </time>
    </span>
  
</div>

<div class="mt-1">
  
    
    <span class="post-meta mr-2">
      <i class="iconfont icon-chart"></i>
      1.2k 字
    </span>
  

  
    
    <span class="post-meta mr-2">
      <i class="iconfont icon-clock-fill"></i>
      
      
      16
       分钟
    </span>
  

  
  
</div>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="d-none d-lg-block col-lg-2"></div>
    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div class="py-5" id="board">
          <article class="post-content mx-auto">
            <!-- SEO header -->
            <h1 style="display: none">阿里云服务器搭建个人博客</h1>
            
            <div class="markdown-body">
              <h1 id="阿里云服务器搭建个人博客（Nginx-Git-Node-js-Hexo）"><a href="#阿里云服务器搭建个人博客（Nginx-Git-Node-js-Hexo）" class="headerlink" title="阿里云服务器搭建个人博客（Nginx Git Node.js Hexo）"></a>阿里云服务器搭建个人博客（Nginx Git Node.js Hexo）</h1><p>总体步骤：</p>
<p>一、安装Nginx</p>
<p>二、安装Node.js</p>
<p>三、安装Git</p>
<p>四、本地操作</p>
<h2 id="一、安装Nginx"><a href="#一、安装Nginx" class="headerlink" title="一、安装Nginx"></a>一、安装Nginx</h2><h3 id="1、安装Nginx依赖项"><a href="#1、安装Nginx依赖项" class="headerlink" title="1、安装Nginx依赖项"></a>1、安装Nginx依赖项</h3><p>安装ngin需要相关的依赖库，我们先进行库的安装。</p>
<p>yum -y install gcc pcre-devel zlib-devel openssl openssl-devel</p>
<p><strong>linux下检查是否安装过某软件包</strong></p>
<ul>
<li><p>rpm包安装的，可以用 rpm -qa 看到，如果要查找某软件包是否安装，用 rpm -qa | grep “软件或者包的名字”</p>
</li>
<li><p>以deb包安装的，可以用 dpkg -l 看到。如果是查找指定软件包，用 dpkg -l | grep “软件或者包的名字”</p>
</li>
<li><p>yum方法安装的，可以用 yum list installed 查找，如果是查找指定包，用 yum list installed | grep “软件名或者包名”</p>
</li>
</ul>
<p>所以，要检查上面的Nginx依赖项是否安装成功，可以这样：yum list installed | grep “gcc”</p>
<p><img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image002.gif" srcset="/img/loading.gif" lazyload alt="clipboard.png"></p>
<p>这样就是安装成功的！</p>
<p>接着，可以继续确认：（当然不确认也可以的）</p>
<p>yum list installed | grep “pcre-devel”</p>
<p>yum list installed | grep “zlib-devel”</p>
<p>yum list installed | grep “openssl”</p>
<p>yum list installed | grep “openssl-devel”</p>
<p>如果没有安装，那就执行：yum -y install gcc（例子）</p>
<h3 id="2、安装Nginx"><a href="#2、安装Nginx" class="headerlink" title="2、安装Nginx"></a>2、安装Nginx</h3><p>yum install -y nginx</p>
<p>nginx -t</p>
<p>nginx: the configuration file /etc/nginx/nginx.conf syntax is ok</p>
<p>nginx: configuration file /etc/nginx/nginx.conf test is successful</p>
<p>启动：systemctl start nginx</p>
<p>查看安装位置：ps -ef | grep nginx</p>
<p>开机启动：systemctl enable nginx.service</p>
<p>查看防火墙状态：systemctl status firewalld</p>
<p>查看nginx状态：systemctl status nginx.service </p>
<p>启动、停止、重载命令</p>
<p>  systemctl start nginx.service</p>
<p>  systemctl stop nginx.service</p>
<p>  systemctl reload nginx.service</p>
<p>  systemctl status nginx.service</p>
<p>打开ip:80 是centos页面或者nginx的欢迎页面，说明安装启动成功。</p>
<h3 id="3、修改Nginx配置文件"><a href="#3、修改Nginx配置文件" class="headerlink" title="3、修改Nginx配置文件"></a>3、修改Nginx配置文件</h3><p>修改配置文件server 80 端口下的root项 为/home/www/website; （相关目录后面会创建的）</p>
<p><img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image004.gif" srcset="/img/loading.gif" lazyload alt="clipboard.png"></p>
<h3 id="4、创建Nginx项目目录-并-配置权限"><a href="#4、创建Nginx项目目录-并-配置权限" class="headerlink" title="4、创建Nginx项目目录 并 配置权限"></a>4、创建Nginx项目目录 并 配置权限</h3><p>新建/home/www/website文件夹，在root用户下执行，所以先su root切换为root账户</p>
<p>su root</p>
<p>输入密码</p>
<p>cd /home</p>
<p>mkdir www</p>
<p>cd www</p>
<p>mkdir website</p>
<p><strong>修改文件夹权限 这步很重要：</strong></p>
<p>chmod 777 /home/www/website</p>
<p>chmod 777 /home/www</p>
<h3 id="5、写入启动脚本"><a href="#5、写入启动脚本" class="headerlink" title="5、写入启动脚本"></a>5、写入启动脚本</h3><p>在/etc/init.d/路径下添加脚本文件，名称为nginx，内容如下：</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br></pre></td><td class="code"><pre><code class="hljs bash">\<span class="hljs-comment">#!/bin/bash</span><br>\<span class="hljs-comment">#Startup script for the nginx Web Server</span><br>\<span class="hljs-comment">#chkconfig: 2345 85 15</span><br>nginx=/usr/<span class="hljs-built_in">local</span>/nginx/sbin/nginx<br>conf=/usr/<span class="hljs-built_in">local</span>/nginx/conf/nginx.conf<br><span class="hljs-keyword">case</span> <span class="hljs-variable">$1</span> <span class="hljs-keyword">in</span> <br>start)<br><span class="hljs-built_in">echo</span> -n <span class="hljs-string">&quot;Starting Nginx&quot;</span><br><span class="hljs-variable">$nginx</span> -c <span class="hljs-variable">$conf</span><br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot; done.&quot;</span><br>;;<br>stop)<br><span class="hljs-built_in">echo</span> -n <span class="hljs-string">&quot;Stopping Nginx&quot;</span><br>killall -9 nginx<br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot; done.&quot;</span><br>;;<br><span class="hljs-built_in">test</span>)<br><span class="hljs-variable">$nginx</span> -t -c <span class="hljs-variable">$conf</span><br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot;Success.&quot;</span><br>;;<br>reload)<br><span class="hljs-built_in">echo</span> -n <span class="hljs-string">&quot;Reloading Nginx&quot;</span><br>ps auxww | grep nginx | grep master | awk <span class="hljs-string">&#x27;&#123;print $2&#125;&#x27;</span> | xargs <span class="hljs-built_in">kill</span> -HUP<br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot; done.&quot;</span><br>;;<br>restart)<br><span class="hljs-variable">$nginx</span> -s reload<br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot;reload done.&quot;</span><br>;;<br>*)<br><span class="hljs-built_in">echo</span> <span class="hljs-string">&quot;Usage: <span class="hljs-variable">$0</span> &#123;start|restart|reload|stop|test|show&#125;&quot;</span><br>;;<br><span class="hljs-keyword">esac</span><br></code></pre></td></tr></table></figure>

<p>然后给执行权限：</p>
<p>chmod +x nginx</p>
<h2 id="二、安装Node-js"><a href="#二、安装Node-js" class="headerlink" title="二、安装Node.js"></a>二、安装Node.js</h2><p>下载：</p>
<p>wget <a target="_blank" rel="noopener" href="https://npm.taobao.org/mirrors/node/v16.5.0/node-v16.5.0-linux-x64.tar.xz">https://npm.taobao.org/mirrors/node/v16.5.0/node-v16.5.0-linux-x64.tar.xz</a></p>
<p>解压：</p>
<p>解压tar.xz文件：</p>
<p>先 xz -d xxx.tar.xz 将 xxx.tar.xz解压成 xxx.tar 然后，</p>
<p>再用 tar xvf xxx.tar来解包。</p>
<p>配置：</p>
<p>ln -s /usr/local/nodejs/bin/node /usr/bin/node</p>
<p>ln -s /usr/local/nodejs/bin/npm /usr/bin/npm</p>
<p>查看版本：</p>
<p>node -v</p>
<p>npm -v</p>
<h2 id="三、安装Git"><a href="#三、安装Git" class="headerlink" title="三、安装Git"></a>三、安装Git</h2><h3 id="1、安装"><a href="#1、安装" class="headerlink" title="1、安装"></a>1、安装</h3><p>yum install -y git</p>
<p>git –version</p>
<h3 id="2、添加用户，设置用户权限、用户密钥"><a href="#2、添加用户，设置用户权限、用户密钥" class="headerlink" title="2、添加用户，设置用户权限、用户密钥"></a>2、添加用户，设置用户权限、用户密钥</h3><p>adduser git  （先照着来吧，不要用别的用户名，甚至不要图省心不做这些步直接用root）</p>
<p>chmod 740 /etc/sudoers</p>
<p>vim /etc/sudoers 在root ALL=(ALL) ALL的下一行，添加：git ALL=(ALL) ALL</p>
<p>如下图：</p>
<p><img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image006.gif" srcset="/img/loading.gif" lazyload alt="clipboard.png"></p>
<p>执行以下指令更改文件夹权限：</p>
<p>chmod 400 /etc/sudoers</p>
<p>sudo passwd git</p>
<p>切换git用户并且建立密钥：</p>
<p>su git</p>
<p>cd ~   进入home目录</p>
<p>mkdir .ssh</p>
<p>cd .ssh</p>
<p>vi authorized_keys</p>
<p>chmod 600 ~/.ssh/authorized_keys</p>
<p>chmod 700 ~/.ssh</p>
<p>git init –bare /usr/local/repo/myblog.git</p>
<h3 id="3、创建Git空仓库"><a href="#3、创建Git空仓库" class="headerlink" title="3、创建Git空仓库"></a>3、创建Git空仓库</h3><p>创建git仓库：</p>
<p>cd ~</p>
<p>git init –bare blog.git</p>
<h3 id="4、配置自动部署"><a href="#4、配置自动部署" class="headerlink" title="4、配置自动部署"></a>4、配置自动部署</h3><p>vim ~/blog.git/hooks/post-receive</p>
<p>输入：</p>
<p><strong>git –work-tree=/home/www/website –git-dir=/home/git/blog.git checkout -f</strong></p>
<p>配置执行权限：</p>
<p>chmod +x ~/blog.git/hooks/post-receive</p>
<p>*<strong>以上指令都需要在su git 之后执行 如果中途断开重新连接过，需要重新执行 su git指令 进入git账户。</strong></p>
<h2 id="四、本地操作"><a href="#四、本地操作" class="headerlink" title="四、本地操作"></a>四、本地操作</h2><h3 id="1、测试Git"><a href="#1、测试Git" class="headerlink" title="1、测试Git"></a>1、测试Git</h3><p>在本地电脑输入：ssh -v git@服务器的公网ip</p>
<p>出现类似下图，则说明Git登录相关配置成功。</p>
<p><img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image008.gif" srcset="/img/loading.gif" lazyload alt="clipboard.png"></p>
<h3 id="2、修改本地配置文件"><a href="#2、修改本地配置文件" class="headerlink" title="2、修改本地配置文件"></a>2、修改本地配置文件</h3><p><img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image010.gif" srcset="/img/loading.gif" lazyload alt="clipboard.png"></p>
<p>repo: git@这里改为服务器公网IP:/home/git/blog.git</p>
<p>这里的git是用户名。</p>
<p>此时，服务器上安装的没问题的话，本地hexo d就会把内容推到/home/www/website，Nginx重新载入，则内容会更新到页面前端。</p>
<p><strong>这里忽略了本地安装node.js hexo 的步骤，在另外一篇说。</strong></p>
<p>另外，hexo部署多仓库可以这样：</p>
<p> <img src="/img/%E9%98%BF%E9%87%8C%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/clip_image011.png" srcset="/img/loading.gif" lazyload alt="img"></p>
<p>参考：</p>
<p><a target="_blank" rel="noopener" href="https://lneverl.gitee.io/posts/2092ec56.html">https://lneverl.gitee.io/posts/2092ec56.html</a></p>
<p><a target="_blank" rel="noopener" href="https://www.cnblogs.com/shuyichao/p/10443361.html">https://www.cnblogs.com/shuyichao/p/10443361.html</a></p>

            </div>
            <hr>
            <div>
              <div class="post-metas mb-3">
                
                
                  <div class="post-meta">
                    <i class="iconfont icon-tags"></i>
                    
                      <a class="hover-with-bg" href="/tags/Hexo/">Hexo</a>
                    
                      <a class="hover-with-bg" href="/tags/%E5%8D%9A%E5%AE%A2/">博客</a>
                    
                  </div>
                
              </div>
              
                <p class="note note-warning">
                  
                    本博客所有文章除特别声明外，均采用 <a target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" rel="nofollow noopener noopener">CC BY-SA 4.0 协议</a> ，转载请注明出处！
                  
                </p>
              
              
                <div class="post-prevnext">
                  <article class="post-prev col-6">
                    
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/2021/07/27/JavaScript%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/">
                        <span class="hidden-mobile">JavaScript快速入门</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
              <!-- Comments -->
              <article class="comments" id="comments" lazyload>
                
                  
                
                
  <div id="valine"></div>
  <script type="text/javascript">
    Fluid.utils.loadComments('#valine', function() {
      Fluid.utils.createScript('https://cdn.jsdelivr.net/npm/valine@1.4.14/dist/Valine.min.js', function() {
        var options = Object.assign(
          {"appId":"Tn1qpSq5cmDWPuwwdOP0y71n-gzGzoHsz","appKey":"yCAKDDeOCIkcd03BNzqOLh8l","placeholder":"说点什么","path":"window.location.pathname","avatar":"retro","meta":["nick","mail","link"],"pageSize":10,"lang":"zh-CN","highlight":true,"recordIP":false,"serverURLs":"","emojiCDN":null,"emojiMaps":null,"enableQQ":false,"requiredFields":[]},
          {
            el: "#valine",
            path: window.location.pathname
          }
        )
        new Valine(options);
      });
    });
  </script>
  <noscript>Please enable JavaScript to view the comments</noscript>


              </article>
            
          </article>
        </div>
      </div>
    </div>
    
      <div class="d-none d-lg-block col-lg-2 toc-container" id="toc-ctn">
        <div id="toc">
  <p class="toc-header"><i class="iconfont icon-list"></i>&nbsp;目录</p>
  <div class="toc-body" id="toc-body"></div>
</div>

      </div>
    
  </div>
</div>

<!-- Custom -->


    

    
      <a id="scroll-top-button" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
    

    
  </main>

  <footer class="text-center mt-5 py-3">
  <div class="footer-content">
     <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener"><span>闽ICP备2021011258号</span></a> 
  </div>
  

  

  
</footer>


  <!-- SCRIPTS -->
  
  <script  src="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" ></script>
<script  src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>

<!-- Plugins -->


  
    <script  src="/js/img-lazyload.js" ></script>
  



  



  <script  src="https://cdn.jsdelivr.net/npm/tocbot@4.12.3/dist/tocbot.min.js" ></script>



  <script  src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js" ></script>



  <script  src="https://cdn.jsdelivr.net/npm/anchor-js@4.3.1/anchor.min.js" ></script>



  <script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js" ></script>



  <script  src="/js/local-search.js" ></script>






  <script  src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12/lib/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var title = document.getElementById('subtitle').title;
      
      typing(title)
      
    })(window, document);
  </script>















<!-- 主题的启动项 保持在最底部 -->
<script  src="/js/boot.js" ></script>


</body>
</html>
